-- GENERATED SPELL FOR [Young Chimaera] --


function spell0_4032(pUnit, Event) --@Lightning Bolt,n/a--
pUnit:FullCastSpellOnTarget(9532,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4032', 3000, 1)
end

function Sorts_4032(pUnit, Event)
local choix_sorts_4032 = math.random(0, 0)
if choix_sorts_4032 == 0 then
pUnit:RegisterEvent('spell0_4032', 1, 1)
end
end

function mob4032_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4032', math.random(1500, 3000), 1)
end

function mob4032_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4032_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4032_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4032, 1, 'mob4032_Action')
RegisterUnitEvent(4032, 2, 'mob4032_Leave')
RegisterUnitEvent(4032, 3, 'mob4032_Kill')
RegisterUnitEvent(4032, 4, 'mob4032_Die')
